export function attentionArea (state) {
    return function (id) {
        if (!state.attentionAreas || state.attentionAreas.length === 0) {
            return null
        } else {
            return state.attentionAreas.find(area => area.id === id)
        }
    }
}

export function attentionAreas (state) {
    return state.attentionAreas
}
